#ifndef DS_SQUIRREL_GRAPHICS_MESH_H
#define DS_SQUIRREL_GRAPHICS_MESH_H

#include <lib\squirrel\sqplus.h>
#include <DelGE.h>
#include "delge_squirrelglobals.h"
#include "delge_squirrelresourcemanager.h"

using namespace SqPlus;

void s_Graphics_Mesh_RegisterFunctions				(HSQUIRRELVM v);

SQInteger s_Graphics_Mesh_Create					(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_Destroy					(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_AddVertex					(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_AddTriangle				(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_RemoveVertex				(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_RemoveTriangle			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_Clear						(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_Build						(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_SetVertexPosition			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexPositionX		(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexPositionY		(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexPositionZ		(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_SetVertexTexturePosition	(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexTexturePositionU	(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexTexturePositionV	(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_SetVertexColor			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexColorRed			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexColorGreen		(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexColorBlue		(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexColorAlpha		(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_SetVertexNormal			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexNormalX			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexNormalY			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexNormalZ			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetVertexCount			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_GetTriangleCount			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_NeedsRebuilding			(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_Translate					(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_Scale						(HSQUIRRELVM v);
SQInteger s_Graphics_Mesh_Rotate					(HSQUIRRELVM v);

#endif